add cursor_offset field.
authorKristian Rietveld <kris@gtk.org>
Fri, 16 Feb 2007 21:35:31 +0000 (21:35 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Fri, 16 Feb 2007 21:35:31 +0000 (21:35 +0000)
commitc24c88fe30a1ffbe4cf5f6145478e53ccc44f0b2
tree00529fb8b8434bd049be203cb7bb7a9c90589437
parent41aff18d7fdc2717e80d6135026950af00536a99
add cursor_offset field.

2007-02-16  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeprivate.h: add cursor_offset field.

* gtk/gtktreeview.c (gtk_tree_view_init),
(gtk_tree_view_move_cursor_page_up_down): fix off by one error
in page up/down handling by memorizing the offset into the cursor
row.  (Fixes #399809, reported by Bruce Bowler).

svn path=/trunk/; revision=17316
ChangeLog
gtk/gtktreeprivate.h
gtk/gtktreeview.c